Skip to content

Conversation

BurdetteLamar
Copy link
Member

No description provided.

@BurdetteLamar BurdetteLamar added the documentation Improvements or additions to documentation label Feb 9, 2023
@BurdetteLamar
Copy link
Member Author

In Net::HTTPResponse#inflater:

  def inflater # :nodoc:
    return yield @socket unless Net::HTTP::HAVE_ZLIB
    return yield @socket unless @decode_content
    return yield @socket if self['content-range']
  • I think that these days ZLib is always there, so not mentioned.
  • Not clear to me how the second condition works, so not (yet) mentioned.
  • I think I got the third one right.

@peterzhu2118 peterzhu2118 merged commit ed16384 into ruby:master Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants